<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录/注册 - Web3 AI数字人NFT交互平台</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        body {
            background: linear-gradient(135deg, #0f0f2d 0%, #1a1a40 100%);
            color: white;
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
            height: 100vh;
            margin: 0;
            padding: 0;
        }
        .login-container {
            height: 100%;
            display: flex;
            flex-direction: column;
            padding: 20px;
        }
        .logo-container {
            text-align: center;
            margin-bottom: 30px;
            margin-top: 20px;
        }
        .logo {
            width: 120px;
            height: 120px;
            margin: 0 auto;
            background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.5);
        }
        .welcome-text {
            text-align: center;
            margin-bottom: 40px;
        }
        .wallet-btn {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 16px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }
        .wallet-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
        }
        .wallet-icon {
            width: 40px;
            height: 40px;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }
        .wallet-text {
            flex: 1;
        }
        .wallet-arrow {
            color: #a78bfa;
        }
        .divider {
            display: flex;
            align-items: center;
            margin: 30px 0;
            color: #6b7280;
        }
        .divider::before, .divider::after {
            content: "";
            flex: 1;
            border-bottom: 1px solid #374151;
        }
        .divider span {
            padding: 0 10px;
        }
        .guest-btn {
            background: transparent;
            border: 2px solid #7c3aed;
            border-radius: 16px;
            padding: 16px;
            text-align: center;
            color: #a78bfa;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .guest-btn:hover {
            background: rgba(124, 58, 237, 0.1);
        }
        .footer-text {
            text-align: center;
            margin-top: auto;
            padding: 20px 0;
            color: #6b7280;
            font-size: 12px;
        }
        .glow {
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(124, 58, 237, 0.15);
            filter: blur(80px);
            z-index: -1;
        }
        .glow-1 {
            top: 10%;
            left: 20%;
        }
        .glow-2 {
            bottom: 20%;
            right: 10%;
            background: rgba(59, 130, 246, 0.15);
        }
    </style>
</head>
<body>
    <div class="glow glow-1"></div>
    <div class="glow glow-2"></div>
    
    <div class="login-container">
        <div class="logo-container">
            <div class="logo">
                <i class="fas fa-robot text-white text-5xl"></i>
            </div>
        </div>
        
        <div class="welcome-text">
            <h1 class="text-3xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-blue-500">欢迎来到AI数字人世界</h1>
            <p class="text-gray-400 mt-2">连接钱包开始您的Web3 AI之旅</p>
        </div>
        
        <button class="wallet-btn">
            <div class="wallet-icon">
                <img src="https://cdn.iconscout.com/icon/free/png-256/metamask-2728406-2261817.png" alt="MetaMask" width="40">
            </div>
            <div class="wallet-text">
                <div class="font-semibold">MetaMask</div>
                <div class="text-sm text-gray-400">连接您的MetaMask钱包</div>
            </div>
            <div class="wallet-arrow">
                <i class="fas fa-chevron-right"></i>
            </div>
        </button>
        
        <button class="wallet-btn">
            <div class="wallet-icon">
                <img src="https://img.icons8.com/?size=100&id=n9d0Hm43JCPK&format=png&color=000000" alt="WalletConnect" width="40">
            </div>
            <div class="wallet-text">
                <div class="font-semibold">WalletConnect</div>
                <div class="text-sm text-gray-400">使用WalletConnect连接</div>
            </div>
            <div class="wallet-arrow">
                <i class="fas fa-chevron-right"></i>
            </div>
        </button>
        
        <div class="divider">
            <span>或者</span>
        </div>
        
        <button class="guest-btn">
            <i class="fas fa-eye mr-2"></i> 访客模式浏览
        </button>
        
        <div class="footer-text">
            <p>首次连接钱包将自动为您创建账户</p>
            <p class="mt-1">连接即表示您同意我们的<span class="text-purple-400">服务条款</span>和<span class="text-purple-400">隐私政策</span></p>
        </div>
    </div>
</body>
</html>